package com.designpattern.softwaredesignpatternstudy.pattern.adapter.entrust;

import com.designpattern.softwaredesignpatternstudy.pattern.adapter.Banner;

/**
 * @author LitchiShell
 * @description:
 * @create 2022-02-01
 */
public class PrintBanner extends Print{

    private Banner banner;

    public PrintBanner(Banner banner) {
        this.banner = banner;
    }

    @Override
    public void printWeek() {
        banner.showWithParen();
    }

    @Override
    public void printStrong() {
        banner.showWithAster();
    }
}
